package com.htpro.service.impl;

import com.htpro.mapper.CinemaMapper;
import com.htpro.pojo.Cinema;
import com.htpro.service.CinemaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CinemaServiceImpl implements CinemaService {
    @Autowired
    private CinemaMapper cm;

    @Override
    public List<Cinema> getAllCinema() {
        return cm.getAllCinema();
    }
}
